package com.itheima.mapper;


import com.itheima.pojo.Checkltem;
import com.itheima.pojo.R;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface CheckltemMapper {


    List<Map<String,Object>> selectList(@Param("start") Integer star,
                                      @Param("pageSize") Integer pageSize,
                                      @Param("queryString") String queryString);

    Integer getTotal();

    int insertCheckltem(Checkltem checkltem);

    int delete(Integer id);

    Checkltem getById(Integer id);

    int update(Checkltem checkltem);

}
